General Write File

A General Write file is used for writing text strings and numeric values using the WRITE and WRITELINE statements. Text strings are enclosed in quotes when written to the file, with commas automatically appended to strings. This enables the files to be read into spreadsheet programs like Excel or Lotus 1-2-3 for custom viewing, editing, and graphing. Write files may also be written to using the XWRITE statement which gives the modeler full control over output and formatting. See Write, WriteLine, or Xwrite for correct syntax and examples.

If you write to an external file during multiple replications or a single, independent run, the data will be appended to the data from the previous replication. However, if the RESET statement is used, the data is overwritten for each replication.